//
//  JKNetworking.h
//  JKRecover
//
//  Created by Veer on 2018/7/13.
//  Copyright © 2018年 Veer. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface JKNetworking : NSObject

+ (NSString *)getSignWithDict:(NSDictionary *)dict;
+ (void)postWithSign:(NSString *)api parameters:(NSMutableDictionary *)param success:(void(^)(NSDictionary *responseObject))success error:(void(^)(NSError * error))erro;
+ (void)post:(NSString *)api parameters:(NSMutableDictionary *)param success:(void(^)(NSDictionary *responseObject))success error:(void(^)(NSError * error))erro;

+ (void)uploadImageWith:(NSString *)api parameters:(NSMutableDictionary *)param constructingBodyWithBlock:(void(^)(id<AFMultipartFormData>  _Nonnull formData))block success:(void(^)(NSDictionary *responseObject))success error:(void(^)(NSError * _Nonnull error))erro;

@end
